gtkmain: Release the active state on GDK_GRAB_BROKEN
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 12 May 2020 08:41:54 +0000 (10:41 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 12 May 2020 15:39:54 +0000 (17:39 +0200)
commit9103fd668707ed83415853e72d8ab301c47bee94
tree12ceb218f3a52a81d086d6b108efd669a2958e34
parentfbd0c8dc346a118019c33deed9858063e3e4e055
gtkmain: Release the active state on GDK_GRAB_BROKEN

This is handled internally here, but misses broken grabs. The active
state should be dropped just as if the button were released.

Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/2665
gtk/gtkmain.c